<?php
/**
 * 用户管理
 * Created by PhpStorm
 * User: long
 * Date: 2019/11/29
 * Time: 13:53
 */

namespace App\Http\Controllers\Api;


use App\Http\Controllers\Controller;

class UserController extends Controller
{
    public function __construct()
    {
        parent::__construct();
    }

    public function getInfo()
    {
        return $this->app->user->get('o5Npcw-khTKlXZBjy64_lch-eHkg');
    }

    public function getAll()
    {
        return $this->app->user->select(['o5Npcw-khTKlXZBjy64_lch-eHkg', 'o5NpcwyyDW4_pwDHHgGfNp1FugOI']);
    }

    public function getList()
    {
        return $this->app->user->list();
    }
}